<style type="text/css">
    table thead td{ font-weight:bold; }
</style>

<table cellpadding="2" cellspacing="0" dir="rtl" border="1" align="center" width="100%">
    <thead>
        <tr>
            <?php foreach ($order as $v) { ?>
                <td>
                    <?php echo __($labels[$v]) ?>
                </td>
            <?php } ?>
        </tr>
    </thead>
    <tbody>        
        <?php foreach ($items as $k => $v) { ?>
            <tr>
                <?php foreach ($order as $one) { ?>
                    <td>
                        <?php echo strpos($one, 'is_') !== false ? ($v[$one] ? __('Yes') : __('No')) : $v[$one] ?>
                    </td>
                <?php } ?>
            </tr>
        <?php } ?>
    </tbody>
</table>
